&lt;iframe src="<%=Embed.checkUrlProtocol(scormfile.lourl,request.protocol)%>" width="<%=scormfile.width%>" height="<%=scormfile.height%>" objecttype="scormpackage" webkitAllowFullScreen="true" allowfullscreen="true" mozallowfullscreen="true"&gt;&lt;/iframe&gt;